package com.tre.jdevtemplateboot.exception.business;

import com.tre.jdevtemplateboot.common.enums.ExceptionHandlerEnums;
import com.tre.jdevtemplateboot.exception.global.SysBusinessException;


public class SysUnAuthenticatedException extends SysBusinessException {

    public SysUnAuthenticatedException() {
        super(ExceptionHandlerEnums.UNAUTHENTICATED_ERROR.getMsg()
        ,ExceptionHandlerEnums.UNAUTHENTICATED_ERROR.getStatus()
                ,ExceptionHandlerEnums.UNAUTHENTICATED_ERROR.getCode());
    }
    public SysUnAuthenticatedException(String message) {
        super(message
                ,ExceptionHandlerEnums.UNAUTHENTICATED_ERROR.getStatus()
                ,ExceptionHandlerEnums.UNAUTHENTICATED_ERROR.getCode());
    }
}
